package com.bm.service;

import com.bm.Vo.Fitment.DetailFitmentVo;
import com.bm.Vo.Fitment.FitmentListVo;
import com.bm.model.EjyyFitment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bm.query.Fitment.FitmentAgreeQuery;
import com.bm.query.Fitment.FitmentListQuery;

import java.util.List;

/**
*
*/
public interface EjyyFitmentService extends IService<EjyyFitment> {

    /**
     * 查询装修登记
     * @param fitmentListQuery
     * @return
     */
    List<FitmentListVo> FitmentList(FitmentListQuery fitmentListQuery);

    /**
     * 新增业主报备装修信息
     * @param ejyyFitment
     * @return
     */
    boolean insertFitment(EjyyFitment ejyyFitment);

    /**
     * 同意装修申请
     * @param fitmentAgreeQuery
     * @return
     */
    boolean updateFitmentAgree(FitmentAgreeQuery fitmentAgreeQuery);

    /**
     * 获取用户装修详情信息
     * @param ejyyFitment
     * @return
     */
    DetailFitmentVo detailFitment(EjyyFitment ejyyFitment);

    /**
     * 根据用户id修改数据()
     * @param ejyyFitment
     * @return
     */
    boolean fitmentConfirm(EjyyFitment ejyyFitment);

    /**
     * 确认装修保证金是否退还
     * @param ejyyFitment
     * @return
     */
    boolean fitmentReturn(EjyyFitment ejyyFitment);
}
